package com.see.domain.dao;

import javax.jdo.JDOHelper;
import javax.jdo.PersistenceManagerFactory;

public final class PMF {
    private static PersistenceManagerFactory pmfInstance;

    public static PersistenceManagerFactory get() {
        if (pmfInstance == null) {
            return pmfInstance = JDOHelper.getPersistenceManagerFactory("local_table");//local_table or online_table
        }
        return pmfInstance;
    }

}
